package com.sharemarking.wa.platform.service.OrderDelayQueue;

import org.springframework.stereotype.Component;

import java.util.concurrent.DelayQueue;

/**
 * @author dxy
 */
@Component
public class OrderQueue {
    private DelayQueue<OrderDelay> queue;

    public OrderQueue() {
        queue = new DelayQueue<OrderDelay>();
    }

    public DelayQueue<OrderDelay> getQueue() {
        return queue;
    }

    public void setQueue(DelayQueue<OrderDelay> queue) {
        this.queue = queue;
    }
}
